package com.small.sentinel.slots.flow;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class FlowRuleManager {



    private static volatile Map<String, List<FlowRule>> flowRules = new HashMap<>();

    static Map<String, List<FlowRule>> getFlowRuleMap() {
        return flowRules;
    }

    private static void addFlowRule(String key, List<FlowRule> ruleList){
        flowRules.put(key,ruleList);
    }
}
